package net.androy.hoola;

import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.widget.TabHost;
import android.widget.TabHost.TabSpec;

public class Main extends TabActivity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);

	final TabHost tabHost = getTabHost();

	tabHost.addTab(tabHost.newTabSpec("daily").setIndicator("Daily").setContent(new Intent(this, Daily.class).addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)));

	tabHost.addTab(tabHost.newTabSpec("weekly").setIndicator("Weekly").setContent(new Intent(this, Weekly.class).addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)));

	tabHost.addTab(tabHost.newTabSpec("monthly").setIndicator("Monthly").setContent(new Intent(this, Monthly.class).addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)));
	
    }
}